package com.huchao.www.service.api;

import com.huchao.www.exception.MyException;
import com.huchao.www.pojo.AdminInfo;

/**
 * @Description:
 * @BelongsProject: springMVC
 * @BelongsPackage: com.huchao.www.service.api
 * @Author: 亖思
 * @CreateTime: 2022/12/7 11:38
 * @Version: 1.0
 */
public interface LoginService {

    /**
     * 〈登录验证〉
     * @param adminInfo:
     * @param loginName:
     * @Author: 亖思
     * @Date: 2022/12/7 21:43
     * @return: AdminInfo
     **/
    boolean doLogin(AdminInfo adminInfo,String loginName) throws MyException;
}
